<% div_for(answer) do %>
  <% selected = false; disabled = false; prefix = ''; suffix = ''
     if question.kind == "Selection" or question.kind == "Multi-selection" 
       letter = ('a'..'z').to_a[answer_counter] + ') '
       if (corrections)
         disabled = true
         if corrections[question] and corrections[question][answer]
           selected = is_selected_answer(corrections[question][answer])
           prefix = '<span id=' + corrections[question][answer] + '> '
           suffix = '</span>'
         end
       end
       if question.kind == "Selection"
         control = radio_button_tag("answers[#{question.id}]", answer.order, selected, :disabled => disabled)
       else
         control = check_box_tag   ("answers[#{question.id}][#{answer.order}]", "", selected, :disabled => disabled)
       end
       control += ' ' + letter + answer.text
     elsif question.kind == "Textual":
       control = text_field_tag  ("answers[#{question.id}]")
     end %>
  <%= prefix + control + suffix %>
<% end %>